package com.javasm.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;

/**
 * 陪玩客户评论(CustomerOrderComment)实体类
 *
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class OrderComment implements Serializable {
    private static final long serialVersionUID = 480984078541084602L;
    /**
     * 评论编号
     */
    private Integer commentId;
    /**
     * 评论订单编号
     */
    private Integer orderId;
    /**
     * 评分
     */
    private Integer commentScore;
    /**
     * 评论时间
     */
    private String commentDatetime;
    /**
     * 订单评论
     */
    private String commentDetail;
    /**
     * 评论状态 0屏蔽 1正常
     */
    private Integer commentStatus;
    /**
     * 下单人编号
     */
    private Integer orderPaymentCustomer;
    /**
     * 接单人编号
     */
    private Integer orderServeCustomer;

    /**
     * 订单所属游戏
     */
    private String gameName;
    /**
     * 下单用户名
     */
    private String orderPaymentCustomerName;
    /**
     * 接单用户名
     */
    private String orderServeCustomerName;


    public OrderComment(Integer orderId, String commentDatetime) {
        this.orderId = orderId;
        this.commentDatetime = commentDatetime;
    }

    public OrderComment(String commentDatetime, String gameName, String orderPaymentCustomerName, String orderServeCustomerName) {
        this.commentDatetime = commentDatetime;
        this.gameName = gameName;
        this.orderPaymentCustomerName = orderPaymentCustomerName;
        this.orderServeCustomerName = orderServeCustomerName;
    }
}

